
export const getTableColumns = ({ params }) => [
	{
		title: "时间",
		dataIndex: "createTime",
		width: 140,
		ellipsis: true
	},
	{
		title: "消息类型",
		dataIndex: "type",
		width: 140,
		ellipsis: true
	},
	{
		title: "任务名称",
		dataIndex: "jobName",
		width: 140,
		ellipsis: true
	},
	{
		title: "任务类型",
		dataIndex: "jobId",
		width: 140,
		ellipsis: true
	},
	{
		title: "接驳点名称",
		dataIndex: "siteId",
		width: 100,
		ellipsis: true,
	},
	{
		title: "车辆编号",
		dataIndex: "vehId",
		width: 100,
		ellipsis: true,
	},
	{
		title: "消息内容",
		dataIndex: "remark",
		width: 140,
		ellipsis: true
	},
];

export const USER_STATUS = [
	{ label: '在线', value: 1 },
	{ label: '离线', value: 2 }
]

export const getSearchColumns = () => [
	{
		type: "input",
		placeholder: "用户名",
		name: "keyword"
	},
	{
		type: "select",
		placeholder: "所属组织",
		name: "keyword"
	},
	{
		type: "input",
		placeholder: "角色",
		name: "keyword"
	},
	{
		type: "select",
		placeholder: "用户状态",
		name: "keyword",
		options: USER_STATUS
	},
]